import { createApp } from 'vue'
import App from './App.vue'
import './styles/global.css'

const app = createApp(App)

// 全局配置
app.config.globalProperties.$api = {
  baseURL: import.meta.env.PROD ? '/api' : 'http://localhost:8000'
}

app.mount('#app')